package com.ss.android.article.base.feature.detail2.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.ss.android.article.base.app.AppData;
import com.ss.android.article.browser.R;

public class DeleteView extends LinearLayout {
    private TextView a;

    public DeleteView(Context arg2) {
        this(arg2, null);
    }

    public DeleteView(Context arg4, AttributeSet arg5) {
        super(arg4, arg5);
        DeleteView.inflate(this.getContext(), R.layout.new_detail_delete, this);
        this.setOrientation(LinearLayout.VERTICAL);
        this.setGravity(1);
        this.a = this.findViewById(com.ss.android.article.browser.R.id.delete_info);
        AppData.getInstance();
        AppData.isNightMode();
        this.setBackgroundResource(com.ss.android.article.browser.R.color.c);
        this.a.setTextColor(this.getContext().getResources().getColor(com.ss.android.article.browser.R.color.i4));
    }

    public boolean onTouchEvent(MotionEvent arg2) {
        super.onTouchEvent(arg2);
        return true;
    }
}

